/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Entity;

/**
 *
 * @author Administrator
 */
public class E_Staff {

    private int staffID;
    private String staffName;
    private int departmentID;
    private String staffUserName;
    private String staffPassWord;

    public E_Staff(){
        this.staffID=0;
        this.staffName="";
        this.departmentID=0;
        this.staffUserName="";
        this.staffPassWord="";
    }

    public E_Staff(int staffID,String staffName,int departmentID,
                String staffUserName,String staffPassWord){
        this.staffID=staffID;
        this.staffName=staffName;
        this.departmentID=departmentID;
        this.staffUserName=staffUserName;
        this.staffPassWord=staffPassWord;
    }

    public void setStaffID(int staffID){
        this.staffID=staffID;
    }
    public int getStaffID(){
        return this.staffID;
    }

    public void setStaffName(String staffName){
        this.staffName=staffName;
    }
    public String getStaffName(){
        return this.staffName;
    }

     public void setDeparmentOfStaff(int departmentID){
        this.departmentID=departmentID;
    }
    public int getDeparmentOfStaff(){
        return this.departmentID;
    }

    public void setStaffUsername(String staffUserName){
        this.staffUserName=staffUserName;
    }
    public String getStaffUsername(){
        return this.staffUserName;
    }

    public void setStaffPassword(String staffPassWord){
        this.staffPassWord=staffPassWord;
    }
    public String getStaffPassword(){
        return this.staffPassWord;
    }

    public String toString(){
        String staffInfo="StaffID : "+staffID;
               staffInfo+="Name : "+staffName;
               staffInfo+="DepartmentID : "+departmentID;
               staffInfo+="UserName : "+staffUserName;
               staffInfo+="PassWord : "+staffPassWord;
        return staffInfo;
    }


}
